
<%@page import="java.util.ArrayList"%>
<%@page import="javabean.StoryBean"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.text.DateFormat"%>
<%@page import="javassist.bytecode.analysis.Util"%>
<%@page import="java.util.Date"%>
<%-- 
    Document   : Login
    Created on : Nov 21, 2012, 3:43:07 PM
    Author     : Mai Phuong
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<html>
    <script type="text/javascript">
        <!--
        window.onerror=function(m,u,l)
        {
            window.status = "Java Script Error: "+m;
            return true;
        }
        //-->
    </script>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Home Page</title>
        <link href="CSS/Site1.css" type="text/css" rel="stylesheet"/>
        <script type="text/javascript" src="Menu/stmenu.js"></script>
        <script type="text/javascript" src="JavaScript/RandomIMG.js"></script>


        
    </head>
    <body background="/DeAn_WebTruyen/Images/115yk.jpg" onLoad="startthedots()" class="main" >
         


        <div class="container">
            <div class="header">
                <div class="header_top_left">
                    <%
                        Date d = new Date();
                        DateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");

                        out.print(dateFormat.format(d));
                    %>
                                      </div>               
                <%--<div class="clear"></div>--%>
                <div class="header_main" > 
                    <script type="text/javascript">
        
                        var img1="12855184861024648803.jpg"
                        var img2="12855185051828767054.jpg"
                        var img3="1285518514197142706.jpg"
                        var img4="1285518527375730281.jpg"
                        var img5="1285518537601341394.jpg"

                        var cur=Math.round(5*Math.random())
                        if (cur<=1)
                        {
                            img=img1
                        }
                        else if (cur<=2)
                        {
                            img=img2
                        }
                        else if (cur<=3)
                        {
                            img=img3
                        }
                        else if (cur<=4)
                        {
                            img=img4
                        }        
                        else
                            img=img5
                        document.write('<div class="header_main" > <img src="Images/'+img+'"/></div>')
              
        
                    </script>
                </div>


            </div>
                
            <script type="text/javascript">
                <!--
                stm_bm(["menu4448",980,"","Menu/blank.gif",0,"","",0,0,500,0,1000,1,0,0,"","100%",0,0,1,2,"default","hand","",1,25],this);
                stm_bp("p0",[0,4,0,0,0,0,0,0,100,"",-2,"",-2,50,0,0,"#999999","transparent","Menu/line1.gif",3,0,0,"#000000"]);
              stm_ai("p0i0",[0,"Home","","",-1,-1,0,"/DeAn_WebTruyen/Home.jsp","_self","","","","",0,0,0,"","",0,0,0,1,1,"#E6EFF9",1,"#E6EFF9",1,"/DeAn_WebTruyen/Menu/line.gif","/DeAn_WebTruyen/Menu/line2.gif",3,3,0,0,"#E6EFF9","#000000","#045257","#7e4076","bold 12pt Verdana","bold 16pt Verdana",0,0,"/DeAn_WebTruyen/Menu/left1.gif","/DeAn_WebTruyen/Menu/left2.gif","/DeAn_WebTruyen/Menu/right1.gif","/DeAn_WebTruyen/Menu/right2.gif",14,19,37],200,0);
                stm_aix("p0i1","p0i0",[0,"Story List","","",-1,-1,0,"#"],200,0);
                stm_bp("p1",[1,4,0,0,5,0,5,0,100,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=0.30)",5,"",-2,80,0,0,"#CCCCCC","#b569ac","",3,0,0,"#CCCCCC","/DeAn_WebTruyen/Menu/topline.gif",8,1,0,"transparent","/DeAn_WebTruyen/Menu/topline.gif",3,"",-1,-1,0,"#b569ac","",3,"",-1,-1,0,"#b569ac","",3,"",-1,-1,0,"transparent","",3,"/DeAn_WebTruyen/Menu/topleft.gif","/DeAn_WebTruyen/Menu/topright.gif","","",10,8,11,8,20,20,20,20]);
                stm_ai("p1i0",[0,"Comedy","","",-1,-1,0,"/DeAn_WebTruyen/jsp/story/Comedy.jsp","_self","","","","",5,1,0,"","",0,0,0,1,1,"363636",1,"#9d5995",0,"","",3,3,0,0,"#E6EFF9","#000000","#e5e5e5","#FFFFFF","10pt Verdana","14pt Verdana",0,0,"","","","",0,0,0],200,20)
                stm_aix("p1i1","p1i0",[0,"Action","","",-1,-1,0,"/DeAn_WebTruyen/jsp/story/Action.jsp","_self","","","","",5,1,0,"","",0,0,0,1,1,"#2b2b2b"],200,20);
                stm_aix("p1i2","p1i1",[0,"Comic","","",-1,-1,0,"/DeAn_WebTruyen/jsp/story/comic.jsp","_self","","","","",5,1,0,"","",0,0,0,1,1,"#2b2b2b"],200,20);
                stm_aix("p1i4","p1i0",[0,"Magic","","",-1,-1,0,"/DeAn_WebTruyen/jsp/story/Magic.jsp","_self","","","","",5,1,0,"","",0,0,0,1,1,"#2b2b2b"],200,20);
                stm_aix("p1i5","p1i1",[0,"Romance","","",-1,-1,0,"/DeAn_WebTruyen/jsp/story/romance.jsp","_self","","","","",5,1,0,"","",0,0,0,1,1,"#2b2b2b"],200,20);
                stm_ep();
                stm_aix("p0i2","p0i1",[0,"Upload","","",-1,-1,0,"/DeAn_WebTruyen/jsp/story/pre_upload.jsp","_self","",""],200,0);
                stm_aix("p0i4","p0i0",[0,"About","","",-1,-1,0,"/DeAn_WebTruyen/jsp/About.jsp","_self","","Liên hệ"],200,0);
                stm_ep();
                stm_cf([0,0,0,"Main_frame","Navigation_frame",1]);
                stm_em();
                //-->
            </script>
            <div class="container_left" style="margin-top: 19px">
                 <!-- Bắt đầu Danh Mục -->
                 <%--
                 <form action="StoryListServlet" method="post">
                                    <%
                                    String theloai = request.getParameter("");
                                    String chuoitrang = request.getParameter("Trang");
                                    int tranghientai = Integer.parseInt(chuoitrang);
                                                                                   
                                    ArrayList<StoryBean> dsTruyen = (ArrayList<StoryBean>) request.getAttribute("dsTruyen");
                                    for (int i = 0; i < dsTruyen.size(); i++) {
                                        dsTruyen = dsTruyen.get(i); 
                                    %>
                                    
                                        <td align="center" bgcolor="#CCCCCC"><a href="./TrangChuController?MaLoaiSua=<%=loaisua.getMaLoai()%>&Trang=1"><%=loaisua.getTenLoai()%></a></td>
                                    
                                    <%}%>
                                    <!-- Kết thúc Danh Mục -->
                 
                                    </form>
                 --%>
                <fieldset>
                    <div>
                        <img src="Images/cover(1).jpg" class="left"/>
                        KARATE SHOUKOUSHI KOHINATA MINORU MÌNH ÐÃ FIX
                        TOÀN B? Ð?N BÙ AE 49>53 T?P NÀY TH?NG M? ÐEN 
                        H?P DI?M KOHINATA MINORU<br>
                        <br>Kohinata Minoru 18t là thành viên c?a CLB th? d?c th? thao 
                        nhung do hok có tài nang và b? các dàn anh ghen ghét nên b? du?i kh?i CLB. 
                        Minoru yêu th?m Misaki nana hung hok dám nói, d?n 1 ngày do hok b?o v? du?c 
                        ngu?i con gái mình yêu mà Minoru dã d?u quân cho CLB d? b? karate. 
                        Cu?c s?ng trong m?y nam d?i h?c c?a Minoru s? nhu th? nào khi roi vào...
                    </div>
                </fieldset>


            </div>
                <div class="container_right">
                <form action="LoginServlet" >
                    <fieldset class="login">
                        <legend style="text-align: center"><h1>Login</h1></legend>
                        <table border="0">
                            <tr>
                                <td>Username</td>
                                <td><input type="text" name="username" value=""/></td>
                            </tr>
                            <tr>
                                <td>Password</td>
                                <td><input type="password" name="password" value=""/></td>
                            </tr>
                            <tr>
                                <td colspan="2"><a href="jsp/Account/CreateUser.jsp">Đăng ký</a></td>
                            </tr>
                            <tr>
                                <td colspan="2"><a href="jsp/Account/SearchUsers.jsp">Quên mật khẩu</a></td>
                            </tr>
                            <tr>
                                <td colspan="2"><input type="submit" value="Login" /></td>
                            </tr>

                        </table>
                    </fieldset>              
                </form>
           
                <form name="Tick">
                    <input type="text" style="margin-left: 2px;background-image:url(Images/115yk.jpg) ;text-align: center;color: yellow;font:bold 45px serif;height: 50pt;width: 97%;"   name="Clock">
                </form><script>
                    <!--

                    function show(){
                    var Digital=new Date()
                    var hours=Digital.getHours()
                    var minutes=Digital.getMinutes()
                    var seconds=Digital.getSeconds()
                    var dn="AM" 
                    if (hours>=12)
                    dn="PM"
                    if (hours>12)
                    hours=hours-12
                    if (hours==0)
                    hours=12
                    if (minutes<=9)
                    minutes="0"+minutes
                    if (seconds<=9)
                    seconds="0"+seconds
                    document.Tick.Clock.value=hours+":"+minutes+":"
                    +seconds+" "+dn
                    setTimeout("show()",1000)
                    }
                    show()
                //-->
                </script>

            </div>  
           

            <div class="container_left" style="margin-top: 19px">
                <fieldset>
                    <div>
                        <img src="Images/cover(1).jpg" class="left"/>
                        KARATE SHOUKOUSHI KOHINATA MINORU MÌNH ÐÃ FIX
                        TOÀN B? Ð?N BÙ AE 49>53 T?P NÀY TH?NG M? ÐEN 
                        H?P DI?M KOHINATA MINORU<br>
                        <br>Kohinata Minoru 18t là thành viên c?a CLB th? d?c th? thao 
                        nhung do hok có tài nang và b? các dàn anh ghen ghét nên b? du?i kh?i CLB. 
                        Minoru yêu th?m Misaki nana hung hok dám nói, d?n 1 ngày do hok b?o v? du?c 
                        ngu?i con gái mình yêu mà Minoru dã d?u quân cho CLB d? b? karate. 
                        Cu?c s?ng trong m?y nam d?i h?c c?a Minoru s? nhu th? nào khi roi vào...
                    </div>
                </fieldset>
            </div>

            <div class="container_left" style="margin-top: 19px">
                <fieldset>
                    <div>
                        <img src="Images/cover(1).jpg" class="left"/>
                        KARATE SHOUKOUSHI KOHINATA MINORU MÌNH ÐÃ FIX
                        TOÀN B? Ð?N BÙ AE 49>53 T?P NÀY TH?NG M? ÐEN 
                        H?P DI?M KOHINATA MINORU<br>
                        <br>Kohinata Minoru 18t là thành viên c?a CLB th? d?c th? thao 
                        nhung do hok có tài nang và b? các dàn anh ghen ghét nên b? du?i kh?i CLB. 
                        Minoru yêu th?m Misaki nana hung hok dám nói, d?n 1 ngày do hok b?o v? du?c 
                        ngu?i con gái mình yêu mà Minoru dã d?u quân cho CLB d? b? karate. 
                        Cu?c s?ng trong m?y nam d?i h?c c?a Minoru s? nhu th? nào khi roi vào...
                    </div>
                </fieldset>
            </div>
            <div class="clear"></div>
               <div style=" background-image:url(/DeAn_WebTruyen/Images/footer_bg2.jpg) ; color: #FF0000;">
                            <p >
                                © Copyright . All right reserved
                            <br />
                            Email: <a href="mailto:maiphuong0403@Gmail.com"><img src="/DeAn_WebTruyen/Images/gmail-icon.gif">MaiPhuong0403@Gmail.com</a>
                            <ul style="text-align: center">
                                Power by<img src="/DeAn_WebTruyen/Images/Untitled.png" />
                            </ul>
                            </p>
           
   </div>
      
      
        </div>

    </body>
</html>
 